package com.zwk.edu.service;

import com.zwk.edu.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zwk.edu.entity.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author zwk
 * @since 2022-08-22
 */
public interface ChapterService extends IService<Chapter> {

    // 查询课程大纲列表
    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    // 删除章节内容
    void removeByCourseId(String courseId);
}
